package cn.stylefeng.guns.modular.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.stylefeng.guns.modular.order.entity.OrderInfoEntity;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * @author allen
 * @date 2021/4/11 17:18
 * @version 1.0
 */
@Mapper
public interface OrderInfoMapper extends BaseMapper<OrderInfoEntity> {
    int updateBatch(List<OrderInfoEntity> list);

    int updateBatchSelective(List<OrderInfoEntity> list);

    int batchInsert(@Param("list") List<OrderInfoEntity> list);

    int insertOrUpdate(OrderInfoEntity record);

    int insertOrUpdateSelective(OrderInfoEntity record);
}